import os

if __name__ == '__main__':
    for path, dir_list, file_list in os.walk(r'..\Drivers\lvgl\src'):
        for file_name in file_list:
            fn = os.path.join(path, file_name)
            if fn.endswith('.c'):
                # print(rf'<File><FileName>{file_name}</FileName><FileType>1</FileType><FilePath>{fn}</FilePath></File>')
                print(rf'{file_name.replace(".c", ".o")} (+RO)')
